package com.xmy.cultivate.mapper;

import org.apache.ibatis.annotations.*;

public interface XmyBaseMapper<T> extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>{

    @Select("${nativeSql}")
    T selectSql(@Param("nativeSql") String nativeSql);

    @Insert("${nativeSql}")
    Integer insertSql(@Param("nativeSql") String nativeSql);

    @Update("${nativeSql}")
    Integer updateSql(@Param("nativeSql") String nativeSql);

    @Delete("${nativeSql}")
    Integer deleteSql(@Param("nativeSql") String nativeSql);
}
